/*
 * Keypad.h
 *
 *  Created on: Dec 11, 2011
 *      Author: Michael Anderson
 *      Part of Team 955 Battery Cart project
 *      compiled on Eclipse with Arduino libraries and avr-gcc
 */

#ifndef KEYPAD_H_
#define KEYPAD_H_

#include "enums.h"
#include <Arduino.h>
#if ENABLE_SERIAL_MENUS
#include <HardwareSerial.h>
#endif

#include <Keypad.h>

const char KPAD_KEYS[4][3] = {
        { '1', '2', '3' },
        { '4', '5', '6' },
        { '7', '8', '9' },
        { '*', '0', '#' }
};

class MyKeypad {
public:
    MyKeypad();
    uint8_t getNum();
    uint8_t getKey();
};

#endif /* KEYPAD_H_ */
